package com.fowo.api.syncAmazon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName amazon_data_sync_log
 */
@TableName(value ="api_request_log")
@Data
public class ApiRequestLog implements Serializable {
    private Long id;

    public static final String REQUESTING = "请求中";
    public static final String WAITING = "等待";
    public static final String SYNCING = "同步中";
    public static final String SUCCESS = "成功";
    public static final String FAIL = "失败";
    private String status;

    private String errorMessage;

    private Date syncDate;

    private Date startTime;

    private Date endTime;

    private String apiCode;

    private Integer dataVolume;

    private Long consumeTime;

    private String requestMessage;

    private static final long serialVersionUID = 1L;
}